<%@page import="com.ym.b2b.cache.configcache.WebAppConfig"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="b" uri="/b2b-tags"%>
<!--响应式布局 -->

<!--[if lte IE 8]><script type="text/javascript" src="/theme/default/js/ie.js?v=2.1"></script><![endif]-->		
<link rel="stylesheet" type="text/css" href="<c:url value="/views/jsp/brand/lib/css/global.css" />">
<link href="<c:url value="/views/jsp/brand/lib/css/brand.css" />" rel="stylesheet" type="text/css">
 
 
 <script>
setFocus(4);
</script>
	<div style="margin: 0 auto;width: 1190px;">
			<div class="hits_brand mt10">
				<h2>人气品牌</h2>
				<div class="list">
					<ul>
					 <b:showBrand outResponseAttrName="brand"  />
						<c:forEach items="${brand.data.brandList }" var="a">
							<li style="width:200px;" >
								<a href="<c:url value="/brand/showBrandDetail.s" />?brandId=${a.brandId }" title="${a.brandChsName }" target="_blank"><img src="<%=WebAppConfig.getPicPath() %>${a.smallPic}" alt="${a.brandChsName }"> ${a.brandChsName }</a>
							</li>
						</c:forEach>
					</ul>
				</div>
			</div>
			
<!-- 品牌分页列表 -->
		<c:forEach items="${ret.rows }" var="brand" >
		<div class="brand_shop_list mt10 ">
			<dl>
				<dt>
					<div class="img">
						<img class="lazy" src="#" data-original="<%=WebAppConfig.getPicPath() %>${brand.smallPic}" alt="${brand.brandChsName }" title="${brand.brandChsName }" style="display: inline-block;">
					</div>
					<p class="product_num">
						共有<strong class="red">72</strong>件商品
					</p>
					<p class="shop_des">
						${brand.brandDesc }
					</p>
					<a href="<c:url value="/brand/showBrandDetail.s" />?brandId=${brand.brandId }" class="go_shop_btn" target="_blank">进入品牌</a>
				</dt>
				<dd>
				<div class="box">
					<ul>
						<b:showProduct outResponseAttrName="p" limitRow="6" brandId="${brand.brandId }" />
							<c:forEach items="${p.rows }" var="p1">
							<li>
								<a href="<c:url value="/product/showProductDetail.s" />?productCode=${p1.productCode}" class="info_img"> 
								<img class="lazy" data-original="<%=WebAppConfig.getPicPath() %>${p1.middlePic}" alt="${p1.chsName }"  style="display: inline-block;"> </a>
								<h4><a href="<c:url value="/product/showProductDetail.s" />?productCode=${p1.productCode}">${p1.chsName }</a></h4>
								<p>
									<span>零售价：</span>
									<em>￥${p1.retailPrice }</em>
								</p>
								<p>
									<span class="price">采购价：</span>
		                            <a href="javascript:void('0')" class="login_look">${p1.viewPrice }</a>
								</p>
								<p>
									<a href="<c:url value="/product/searchProduct.s" />?producingName=${p1.producingName }">${p1.producingName }</a>
								</p>
							</li>
						</c:forEach>
					</ul>
				</div>
			 </dd>
			</dl>
		</div>
		</c:forEach>
		<!--列表分页-->

	  <c:import url="/views/jsp/brand/brand_page_info.jsp" />
		</div>

 
